package com.kgc.travel.mapper;

import com.kgc.travel.pojo.LawPage;
import com.kgc.travel.pojo.LawPageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LawPageMapper {
    int countByExample(LawPageExample example);

    int deleteByExample(LawPageExample example);

    int deleteByPrimaryKey(Integer pageId);

    int insert(LawPage record);

    int insertSelective(LawPage record);

    List<LawPage> selectByExample(LawPageExample example);

    LawPage selectByPrimaryKey(Integer pageId);

    int updateByExampleSelective(@Param("record") LawPage record, @Param("example") LawPageExample example);

    int updateByExample(@Param("record") LawPage record, @Param("example") LawPageExample example);

    int updateByPrimaryKeySelective(LawPage record);

    int updateByPrimaryKey(LawPage record);
}